package com.imooc.annotation_demo.utils;

public class BeanUtil {

    /**
     * Calc get method name string.
     * 根据成员变量计算get方法名
     *
     * @param fieldName the field name
     * @return the string
     */
    public static String calcGetMethodName(String fieldName){
        return "get"+fieldName.substring(0,1).toUpperCase()+fieldName.substring(1);
    }

    public static String camelToUnderline(String fieldName){
        return null;
    }
}
